const mongoodse = require('mongoose')
const Schema = mongoodse.Schema

const Classify_types = Schema({
    created: {type: Date, default: Date.now()},
    classify: String,
    name: String,
    is_children: Boolean,
    rank: {
        type: Array,
        default: []
    },
    type: {
        type: Array,
        default: []
    },
    year: {
        type: Array,
        default: []
    },
    area: {
        type: Array,
        default: []
    },
    act: {
        type: Array,
        default: []
    },
})

const classify_types = mongoodse.model('Classify_type', Classify_types);

export default classify_types
